package com.guigu.xiaowenbo.mapper;

import com.guigu.xiaowenbo.pojo.Scell;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScellMapper {

    List<Scell> selectByPrimaryKeyfh();

    List<Scell> selectByPrimaryKeyfhcx();

    List<Scell> selectByPrimaryKeyid(String prouctid);

    int updateByPrimaryKeySelectivebg(Scell scell);

    Scell selectByPrimaryKeyfhid(String storeid);

    int insert(Scell scell);

    Scell selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Scell scell);

    int updatesc(@Param("prouctid") String prouctid, @Param("amount") Integer amount);

    Scell selectByPrimaryKeyfhcxid(String prouctid);

    int updatescrw(@Param("prouctid") String prouctid, @Param("amount") Integer amount);

    Scell selectpid(String prouctid);
}